<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>收款订单详情</title>
  <link rel="stylesheet" href="./css/reset.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/add_gathering.css">
  <link rel="stylesheet" href="./js/css/layui.css" media="all">
  <!-- 开发环境版本，包含了有帮助的命令行警告 -->
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>

</head>
<body>
<div id="app">
  <div class="order-detail">

    <div class="sidebar">
      <a class="logo" href="./index.html">NOWPAY</a>
      <a class="sidebar-item"
         v-for="(item,index) in sidebarNavList"
         :class="index === 2?'sidebar-active':''"
         :href="item.href"
      >
        <i :class="item.icon"></i>
        <span>{{item.text}}</span>
      </a>
    </div>

    <div class="main">
      <div class="main-top">
        <div class="top-content">
          <div class="content-left">欢迎使用NOVOXPAY出入金系统！</div>
          <div class="content-right">
            <span id="zfk"></span>
            <span id="watt"></span>
            <span id="hms"></span>
            <span>{{userName}}</span>
          </div>
        </div>
        <a class="top-logout" href="./login.html"></a>
      </div>
      <div class="main-warp">
        <div class="header">
          <span>添加收款订单</span>
          <a href="./gathering.html">返回</a>
        </div>
        <div class="order">
          <div class="order-item">
            <li v-for="(item, index) in orderData">
              <span>{{item.key}}</span>
              <!--日期选择 id=calendar-->
              <input v-model="item.val"
                     :class="index === 5 ? 'calendar': ''"
                     :id="index === 5 ? 'calendar': ''">
              <em v-if="index === 4">USDT</em>
            </li>
            <input type="button" class="submit"
            value="立即提交">
          </div>
        </div>
      </div>
    </div>

  </div>
</div>
</body>
</html>
<script src="./js/add_gathering.js"></script>
<script src="./js/read_cache.js"></script>
<script src="./js/common.js"></script>
<script src="./js/layui.js"></script>
<script src="./js/voucher_carousel.js"></script>
<script>
  $(function () {
    layui.use('laydate', function(){
      var dateSelection = layui.laydate;

      //执行一个laydate实例
      dateSelection.render({
        elem: '#calendar' //指定元素
      });
    });
  })

</script>